$font-color: hsla(0, 0%, 100%, 0.8);
$secondary-font-color: hsla(0, 0%, 100%, 0.6);

.search {
  button {
    margin-top: 10px;

    cursor: pointer;

    border: none;
    background: var(--color-dark);
    fill: #fff;
    fill: var(--dark-mode-and-search-icon-color);

    &:focus {
      outline: none;
    }
  }
}

.search-hotkey-popup{
  background-color: var(--background-color) !important;
  padding: 4px;
}

.popup-wrapper {
  min-width: calc(100% - 322px) !important;

  border: 1px solid hsla(0, 0%, 100%, 0.2) !important;

  background-color: #27282c !important;

  [class^="filterWrapper"] {
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
  }

  input {
    color: $font-color !important;

    font-weight: normal !important;
  }

  span[data-test-custom="ring-select-popup-filter-icon"] {
    color: #fff;
  }

  button[data-test="ring-input-clear"] {
    color: #fff !important;
  }
}

@media screen and (max-width: 759px) {
  .popup-wrapper {
    min-width: 100% !important;
  }
}

.template-wrapper {
  display: grid;

  height: 32px;
  grid-template-columns: auto auto;

  strong {
    color: $font-color;
  }

  span {
    color: $font-color;

    line-height: 32px;

    &.template-description {
      color: $secondary-font-color;
      justify-self: end;
    }
  }
}

@media screen and (max-width: 759px) {
  .template-wrapper {
    display: flex;
    flex-direction: column;

    height: auto;

    span {
      line-height: unset;
    }
  }
}

.template-name {
  justify-self: start;
}

/* remove fade at the bottom */
[class^="fade"] {
  display: none;
}

[class*="hover"] {
  background-color: hsla(0, 0%, 100%, 0.1) !important;
}
